package com.jams.goodox.entity;

import com.jams.goodox.net.BaseEntity;

/**
 * 未读消息数接口
 * Created by hgz on 2016/6/2.
 */
public class MessageNoticeNumberBean extends BaseEntity{

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private int enterpriseNotice;
        private int chatNotice;
        private int personNotice;

        public int getEnterpriseNotice() {
            return enterpriseNotice;
        }

        public void setEnterpriseNotice(int enterpriseNotice) {
            this.enterpriseNotice = enterpriseNotice;
        }

        public int getChatNotice() {
            return chatNotice;
        }

        public void setChatNotice(int chatNotice) {
            this.chatNotice = chatNotice;
        }

        public int getPersonNotice() {
            return personNotice;
        }

        public void setPersonNotice(int personNotice) {
            this.personNotice = personNotice;
        }

        public int getAllNumber(){
            return enterpriseNotice+chatNotice+personNotice;
        }
    }
}
